package za.ac.lance.other;

/**
 * File Name: GradeBook.java
 * Version:
 * Description:
 * Package: za.ac.lance.encapsulation
 * Author: Lance
 * Date: Feb 25, 2012
 */
public class GradeBook
{

    private String courseName;
    private int total;
    private int gradeCounter;
    private int aCount;
    private int bCount;
    private int cCount;
    private int dCount;
    private int fCount;

    public GradeBook(String courseName)
    {
        this.courseName = courseName;
    }

    public void incrementACount()
    {
        this.aCount += 1;
    }

    public void incrementBCount()
    {
        this.bCount += 1;
    }

    public void incrementCCount()
    {
        this.cCount += 1;
    }

    public void incrementDCount()
    {
        this.dCount += 1;
    }

    public void incrementFCount()
    {
        this.fCount += 1;
    }

    public void incrementGradeCounter()
    {
        this.gradeCounter += 1;
    }

    public void addToTotal(int total)
    {
        this.total += total;
    }

    public String getCourseName()
    {
        return courseName;
    }

    public int getGradeCounter()
    {
        return gradeCounter;
    }

    public int getTotal()
    {
        return total;
    }

    public int getaCount()
    {
        return aCount;
    }

    public int getbCount()
    {
        return bCount;
    }

    public int getcCount()
    {
        return cCount;
    }

    public int getdCount()
    {
        return dCount;
    }

    public int getfCount()
    {
        return fCount;
    }
}